﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Model
{

    public class orderinfo
    {
        /// <summary>
        /// 商品数量数组
        /// </summary>
        public int[] CountArr { get; set; }

        #region 新增的属性
        /// <summary>
        /// 购物车ID数组
        /// </summary>
        public string[] CarIDListArr { get; set; }
        /// <summary>
        /// 商品数量
        /// </summary>
        public string[] CountArrs { get; set; }
        /// <summary>
        /// 商品名称数组
        /// </summary>
        public string[] DisheNameArr { get; set; }
        /// <summary>
        /// 商品价格数组
        /// </summary>
        public string[] DishesPayArr { get; set; }
        #endregion

        /// <summary>
        /// 商品ID数组
        /// </summary>
        public string[] DishListArr { get; set; }
        /// <summary>
        /// 商户ID
        /// </summary>
        public View_Order_MerSet ShopInfo { get; set; }
        /// <summary>
        /// 钱包ID
        /// </summary>
        public string WaltID { get; set; }
        /// <summary>
        /// 购物车商品金额
        /// </summary>
        public double totaMoney { get; set; }
    }

    public class bookorder
    {
        public PayMethod Walt { get; set; }
        public User_Contact_T Contact { get; set; }
        //public OtherInfo Other { get; set; }

        #region 新增的属性
        public string WaltPayID { get; set; }
        public int WaltPricType { get; set; }
        public string SelectUserContact { get; set; }       
        public string DelFormMon { get; set; }
        public string DelPackMon { get; set; }
        #endregion

        public string Date { get; set; }
        public string Time { get; set; }
        public string BZ { get; set; }
        public string Type { get; set; }
        public string Total { get; set; }
    }
    public class bookbrgorder
    {
        public OrgContact Contact { get; set; }
        public OtherInfo Other { get; set; }
        public string Type { get; set; }
    }
    public class OrgContact
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public string Phone { get; set; }
        public string Address { get; set; }
    }
    public class OtherInfo
    {
        public string BZ { get; set; }
        public string Date { get; set; }
        public string Time { get; set; }
    }

    public class allorderlist
    {
        public View_Order_Form vof { get; set; }
        public string FormAllMon { get; set; }//订单总价
        public string[] FormDisheID { get; set; }//菜品ID集合
        public string[] FormDisheName { get; set; }//菜品名称集合
        public string[] FormDishesNun { get; set; }//菜品数量集合
        public string[] FormDishesMon { get; set; }//菜品原单价集合
        public string[] FornDishesInt { get; set; }//菜品积分集合
        public string FormBY { get; set; }//订单状态
    }
    public class orderinfo_Count
    {

        public int[] DishesCount { get; set; }
        public string[] CountArr { get; set; }
        public List<View_Order_Dishes> DishList { get; set; }
        public List<View_Order_MerPricing> PricList { get; set; }
        public View_Order_MerSet ShopInfo { get; set; }
        public List<Order_DishesType_T> TypeList { get; set; }

    }
}